<h4 class="sets">stats for set <%=h @fset.name %><span>Score: <%= @game.score %>/<%= @num_card_stats %></span></h4>

<div class="stats_control">
<ul>

	<li><%= link_to '', fplay_fset_url(@game.fset_id), { :class => "play" } %></li>


		<li>	<% form_for(@game,  :url => just_wrong_fset_game_url(@fset,
		@game), :html=> {:method=>:post}) do |f| %>
		  <%= f.error_messages %>
		<%= f.submit "", { :class => 'only'} %>
		<% end %> </li>	

		<li>
		<% form_for(@game,  :url => until_correct_fset_game_url(@fset,
		@game), :html=> {:method=>:post}) do |f| %>
		  <%= f.error_messages %>
		<%= f.submit "", { :class => 'until'} %>
		<% end %> </li>
		<li><%= link_to '', edit_fset_path(@fset), { :class => "edit" } %></li>
	</ul>
	<div class="clear">&nbsp;</div>
	</div>

	<table class="fleft">
		<th>
	Percentage of cards correct <br>during previous trials 
	</th>
	<tr><td>
	<%= horizontal_bar_graph_blue  @graph_info %>
	</td></tr></table>
	
<table class="fleft">
	<th>
Percentage correct for each card
</th>
<tr><td>
<%= horizontal_bar_graph @graph_info_cards %>
</td></tr></table>


 				 
